package com.fuze.questionnaire.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author sepc_
 * @date 11/26/2021 18:25
 * 问卷项目实体
 */
@ApiModel(value="project_type_tab")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "project_type_tab")
public class ProjectType implements Serializable {
    private static final long serialVersionUID = -3501124388083982574L;
    /**
     * primary key
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="primary key")
    private Integer id;

    /**
     * 问卷项目名称
     */
    @TableField(value = "project_type_name")
    @ApiModelProperty(value="问卷项目名称")
    private String projectTypeName;

    public static final String COL_ID = "id";

    public static final String COL_PROJECT_TYPE_NAME = "project_type_name";
}